<%-- 
    Document   : w_product
    Created on : Sep 22, 2013, 3:11:55 PM
    Author     : Trang
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="model.Product"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib uri="http://displaytag.sf.net" prefix="display" %>


<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Warehousing Management</title>
        <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
        <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>

        <link href="<%= request.getContextPath()%>/css/style_for_page.css" rel="stylesheet" type="text/css"/>
        <link href="<%= request.getContextPath()%>/css/style_for_menu.css" rel="stylesheet" type="text/css"/>
        <link href="<%= request.getContextPath()%>/css/style_addtion.css" rel="stylesheet" type="text/css"/>
        <link href="<%= request.getContextPath()%>/css/adMenu.css" rel="stylesheet" type="text/css"/>
        <link href="<%= request.getContextPath()%>/css/tHeaderFooter.css" rel="stylesheet" type="text/css"/>
    </head>
    <body class="container">
        <% int i = 0;%>
   
    <div class="divcontent">

            
        <div class="content">  
            <div class="datagrid">
                
                <display:table id="data"  name="products" pagesize="10" export="true" requestURI="ProductForm">
                    <display:column property="code" title="Product Code" sortable="true" media="html" group="1" />
                    <display:column property="name" title="Product Name" sortable="true" />
                    <display:column property="brand" title="Brand" sortable="true" />
                    <display:column property="category.name" title="Category" sortable="true" media="html" group="1" />
                    <display:column property="details" title="Details" sortable="true" />
                    <display:column property="stockQuantity" title="Stock Quantity" sortable="true" /> 
                </display:table>
            </div>


        </div>   
    </div>
    <footer>
        <div id="footer">
            <%@include file="/include/iFooter.jsp" %>
        </div>    
    </footer>
</body>
</html>
